package com.example.weather_app.base;

public class URLUtils {

//    private static final String KEY = "&key=f53ed2315c2d7f31c0a99c76956ce1be";
    private static final String KEY = "&key=4e2f66525e4b1d8351403115bfc74a4d";

    private static String temp_url = "http://apis.juhe.cn/simpleWeather/query?city=";
    private static String index_url = "http://apis.juhe.cn/simpleWeather/life?city=";

    public static String getTemp_url(String city){
        String url = temp_url + city + KEY;
        return url;
    }

    public static String getIndex_url(String city){
        String url = index_url + city + KEY;
        return url;
    }

}
